<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .toast-container{
            position: absolute;
            left:0;
            top:0;
            botttom:0;
            right:0;
            z-index:2000;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .toast{
            width: 180px;
            height: 60px;
            line-height: 60px;
            text-align: center;
            background: blueviolet;
            border-radius: 10px;
            color: #ffffff;
        }
    </style>
</head>
<body>
    <section class="toast-container">
        <div class="toast">
            <span>hello,Toast</span>
        </div>
    </section>
    <a href="cart.html">跳转到购物车</a>
</body>
</html>